<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Red Circle Overlay</title>
  <style>
    body {
      margin: 0;
      overflow: hidden;
      background: transparent;
    }

    canvas {
      position: fixed;
      z-index: 100;
      top: -40px;
      left: 0;
      width: 100vw;
      height: 100vh;
    }
  </style>
</head>

<body>
  <canvas id="canvas"></canvas>
  <script>
    window.onload = function () {
      const { ipcRenderer } = require('electron');

      ipcRenderer.invoke('get-settings').then((settings) => {
        window.settings = settings;

        const script = document.createElement('script')
        script.src = './topLevelText.js'
        document.body.appendChild(script);
      });
    }
  </script>
</body>

</html>